<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:50:"../public/templete/AdminThemes/drawing\detail.html";i:1550825914;s:56:"../public/templete/AdminThemes/layout\common_layout.html";i:1550549159;}*/ ?>
<!doctype html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <title>资金盘后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="__JS__/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="__ADMIN_TMPL__/font/css/font-awesome.min.css">
    <!--CSS引用-->
    
    <link rel="stylesheet" href="__ADMIN_TMPL__/css/admin.css">
    <!--[if lt IE 9]>
    <script src="__JS__/html5shiv.min.js"></script>
    <script src="__JS__/respond.min.js"></script>
    <![endif]-->
    
</head>

<body>

    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="<?php echo url('admin/drawing/index'); ?>">提现管理</a></li>
            <li class="layui-this">提现详情</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container">
                    <div class="layui-form-item">
                        <label class="layui-form-label">账号</label>
                        <div class="layui-input-block">
                            <input type="text" value="<?php echo $detail['u_email']; ?>"    class="layui-input" disabled="disabled">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">提现类型</label>
                        <div class="layui-input-block">
                            <?php if($detail['d_type'] == 1): ?>
                            <input type="text"  value="支付宝" class="layui-input" disabled="disabled">
                            <?php else: ?>
                            <input type="text"  value="银行卡" class="layui-input" disabled="disabled">
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现金额（人民币）</label>
                        <div class="layui-input-block">
                            <input type="text" style="color: #0BB20C" value="<?php echo $detail['d_money_rmb']; ?>"  class="layui-input" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现金额（美元）</label>
                        <div class="layui-input-block">
                            <input type="text" style="color: red" value="<?php echo $detail['d_money_dollar']; ?>"   class="layui-input" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现状态</label>
                        <div class="layui-input-block">
                            <?php if($detail['d_status'] == 1): ?>
                            <input type="text"  value="待打款" class="layui-input" disabled="disabled">
                            <?php endif; if($detail['d_status'] == 2): ?>
                            <input type="text"  value="确认打款" class="layui-input" disabled="disabled">
                            <?php endif; if($detail['d_status'] == 3): ?>
                            <input type="text"  value="拒绝打款" class="layui-input" disabled="disabled">
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现说明</label>
                        <div class="layui-input-block">
                            <textarea  cols="95" rows="5" disabled="disabled"><?php echo $detail['d_remark']; ?></textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现账号详情</label>
                        <?php if($detail['d_type'] == 1): ?>
                            <div class="layui-input-block">
                                <textarea  cols="95" rows="5" disabled="disabled">支付宝账号：<?php echo $detail['u_alipay']; ?></textarea>
                            </div>
                        <?php endif; if($detail['d_type'] == 2): ?>
                            <div class="layui-input-block">
                                <textarea  cols="95" rows="5" disabled="disabled">
                                    银行：<?php if($detail['u_bank_type'] == 1): ?>工商银行<?php endif; if($detail['u_bank_type'] == 2): ?>农业银行<?php endif; if($detail['u_bank_type'] == 3): ?>中国银行<?php endif; if($detail['u_bank_type'] == 4): ?>建设银行<?php endif; if($detail['u_bank_type'] == 5): ?>交通银行<?php endif; ?>

                                    卡号：<?php echo $detail['u_bank_card_code']; ?>

                                    银行预留姓名：<?php echo $detail['u_name_bank']; ?>

                                    银行预留手机号：<?php echo $detail['u_bank_phone']; ?>
                                </textarea>
                            </div>
                        <?php endif; ?>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">提现时间</label>
                        <div class="layui-input-block">
                            <input type="text" value="<?php echo $detail['d_create_time']; ?>"   class="layui-input" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">修改时间</label>
                        <div class="layui-input-block">
                            <input type="text" value="<?php echo $detail['d_update_time']; ?>"   class="layui-input" disabled="disabled">
                        </div>
                    </div>
                    <!--订单ID-->
                    <input type="hidden" id="d_id" value="<?php echo $detail['d_id']; ?>">
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <?php if($detail['d_status'] == 1): ?>
                                <a href="<?php echo url('admin/drawing/update',['d_id'=>$detail['d_id'],'d_uid'=>$detail['d_uid'],'d_money_dollar'=>$detail['d_money_dollar'],'d_status' => 2]); ?>" class="layui-btn layui-btn-normal layui-btn-mini ajax-confim">确认</a>
                                <a href="<?php echo url('admin/drawing/update',['d_id'=>$detail['d_id'],'d_uid'=>$detail['d_uid'],'d_money_dollar'=>$detail['d_money_dollar'],'d_status' => 3]); ?>" class="layui-btn layui-btn-danger layui-btn-mini ajax-confim">拒绝</a>
                            <?php endif; ?>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

<!--网站主体-->
<script>
    // 定义全局JS变量
    var GV = {
        base_url: "__STATIC__"
    };
</script>
<!--JS引用-->
<script src="__JS__/jquery.js"></script>
<script src="__JS__/layui/lay/dest/layui.all.js"></script>
<script src="__JS__/common.js"></script>

<!--<script src="__JS__/kindeditor/kindeditor.config.js"></script>-->
<!--<script src="__JS__/kindeditor/kindeditor-all-min.js"></script>-->
<script src="__JS__/ueditor/ueditor.config.js"></script>
<script src="__JS__/ueditor/ueditor.all.min.js"></script>

<!--页面JS脚本-->

<script>
</script>

</body>
</html>